<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/13
 * Time: 20:47
 */
return [
    "appName"=>"",
    "debug" => true,
    "baseURL" => "",
    "defaultLocale" => 'en',
    "appTimezone" => 'America/Chicago',
    "charset" => 'UTF-8',
    "session"=>[
        "cookieName"        => 'louis_session',
        "expiration"        => 7200,
        "savePath"          => null,
        "matchIP"           => false,
        "timeToUpdate"      => 300,
    ],
    "cookies"=>[
        "prefix"    =>'',
        "domain"    =>'',
        "path"      =>'/',
        "secure"    =>false,
        "HTTPOnly"  => false,
    ],
    "cache"=>[
        "default"   =>"redis",
        "prefix"    => '',
        "file"      =>[
            "path"  =>""
        ],
        "memcached" =>[
            'host'   => '127.0.0.1',
            'port'   => 11211,
            'weight' => 1,
            'raw'    => false,
        ],
        "redis"     => [
            'host'     => '127.0.0.1',
            'password' => null,
            'port'     => 6379,
            'timeout'  => 0,
        ],
    ],





    "database"=>[
        "default" => [
            'DSN'          => '',
            'hostname'     => 'localhost',
            'username'     => '',
            'password'     => '',
            'database'     => '',
            'DBDriver'     => 'MySQLi',
            'DBPrefix'     => '',
            'cacheOn'      => false,
            'cacheDir'     => '',
            'charset'      => 'utf8',
            'DBCollat'     => 'utf8_general_ci',
            'port'         => 3306
        ],
    ],
];